package com.taotao.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbOrderShippingExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public TbOrderShippingExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andOrderIdIsNull() {
			addCriterion("order_id is null");
			return (Criteria) this;
		}

		public Criteria andOrderIdIsNotNull() {
			addCriterion("order_id is not null");
			return (Criteria) this;
		}

		public Criteria andOrderIdEqualTo(String value) {
			addCriterion("order_id =", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotEqualTo(String value) {
			addCriterion("order_id <>", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdGreaterThan(String value) {
			addCriterion("order_id >", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
			addCriterion("order_id >=", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdLessThan(String value) {
			addCriterion("order_id <", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdLessThanOrEqualTo(String value) {
			addCriterion("order_id <=", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdLike(String value) {
			addCriterion("order_id like", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotLike(String value) {
			addCriterion("order_id not like", value, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdIn(List<String> values) {
			addCriterion("order_id in", values, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotIn(List<String> values) {
			addCriterion("order_id not in", values, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdBetween(String value1, String value2) {
			addCriterion("order_id between", value1, value2, "orderId");
			return (Criteria) this;
		}

		public Criteria andOrderIdNotBetween(String value1, String value2) {
			addCriterion("order_id not between", value1, value2, "orderId");
			return (Criteria) this;
		}

		public Criteria andReceiverNameIsNull() {
			addCriterion("receiver_name is null");
			return (Criteria) this;
		}

		public Criteria andReceiverNameIsNotNull() {
			addCriterion("receiver_name is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverNameEqualTo(String value) {
			addCriterion("receiver_name =", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameNotEqualTo(String value) {
			addCriterion("receiver_name <>", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameGreaterThan(String value) {
			addCriterion("receiver_name >", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_name >=", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameLessThan(String value) {
			addCriterion("receiver_name <", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameLessThanOrEqualTo(String value) {
			addCriterion("receiver_name <=", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameLike(String value) {
			addCriterion("receiver_name like", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameNotLike(String value) {
			addCriterion("receiver_name not like", value, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameIn(List<String> values) {
			addCriterion("receiver_name in", values, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameNotIn(List<String> values) {
			addCriterion("receiver_name not in", values, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameBetween(String value1, String value2) {
			addCriterion("receiver_name between", value1, value2, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverNameNotBetween(String value1, String value2) {
			addCriterion("receiver_name not between", value1, value2, "receiverName");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneIsNull() {
			addCriterion("receiver_phone is null");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneIsNotNull() {
			addCriterion("receiver_phone is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneEqualTo(String value) {
			addCriterion("receiver_phone =", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneNotEqualTo(String value) {
			addCriterion("receiver_phone <>", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneGreaterThan(String value) {
			addCriterion("receiver_phone >", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_phone >=", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneLessThan(String value) {
			addCriterion("receiver_phone <", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneLessThanOrEqualTo(String value) {
			addCriterion("receiver_phone <=", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneLike(String value) {
			addCriterion("receiver_phone like", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneNotLike(String value) {
			addCriterion("receiver_phone not like", value, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneIn(List<String> values) {
			addCriterion("receiver_phone in", values, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneNotIn(List<String> values) {
			addCriterion("receiver_phone not in", values, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneBetween(String value1, String value2) {
			addCriterion("receiver_phone between", value1, value2, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverPhoneNotBetween(String value1, String value2) {
			addCriterion("receiver_phone not between", value1, value2, "receiverPhone");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileIsNull() {
			addCriterion("receiver_mobile is null");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileIsNotNull() {
			addCriterion("receiver_mobile is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileEqualTo(String value) {
			addCriterion("receiver_mobile =", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileNotEqualTo(String value) {
			addCriterion("receiver_mobile <>", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileGreaterThan(String value) {
			addCriterion("receiver_mobile >", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_mobile >=", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileLessThan(String value) {
			addCriterion("receiver_mobile <", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileLessThanOrEqualTo(String value) {
			addCriterion("receiver_mobile <=", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileLike(String value) {
			addCriterion("receiver_mobile like", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileNotLike(String value) {
			addCriterion("receiver_mobile not like", value, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileIn(List<String> values) {
			addCriterion("receiver_mobile in", values, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileNotIn(List<String> values) {
			addCriterion("receiver_mobile not in", values, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileBetween(String value1, String value2) {
			addCriterion("receiver_mobile between", value1, value2, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverMobileNotBetween(String value1, String value2) {
			addCriterion("receiver_mobile not between", value1, value2, "receiverMobile");
			return (Criteria) this;
		}

		public Criteria andReceiverStateIsNull() {
			addCriterion("receiver_state is null");
			return (Criteria) this;
		}

		public Criteria andReceiverStateIsNotNull() {
			addCriterion("receiver_state is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverStateEqualTo(String value) {
			addCriterion("receiver_state =", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateNotEqualTo(String value) {
			addCriterion("receiver_state <>", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateGreaterThan(String value) {
			addCriterion("receiver_state >", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_state >=", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateLessThan(String value) {
			addCriterion("receiver_state <", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateLessThanOrEqualTo(String value) {
			addCriterion("receiver_state <=", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateLike(String value) {
			addCriterion("receiver_state like", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateNotLike(String value) {
			addCriterion("receiver_state not like", value, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateIn(List<String> values) {
			addCriterion("receiver_state in", values, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateNotIn(List<String> values) {
			addCriterion("receiver_state not in", values, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateBetween(String value1, String value2) {
			addCriterion("receiver_state between", value1, value2, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverStateNotBetween(String value1, String value2) {
			addCriterion("receiver_state not between", value1, value2, "receiverState");
			return (Criteria) this;
		}

		public Criteria andReceiverCityIsNull() {
			addCriterion("receiver_city is null");
			return (Criteria) this;
		}

		public Criteria andReceiverCityIsNotNull() {
			addCriterion("receiver_city is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverCityEqualTo(String value) {
			addCriterion("receiver_city =", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityNotEqualTo(String value) {
			addCriterion("receiver_city <>", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityGreaterThan(String value) {
			addCriterion("receiver_city >", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_city >=", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityLessThan(String value) {
			addCriterion("receiver_city <", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityLessThanOrEqualTo(String value) {
			addCriterion("receiver_city <=", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityLike(String value) {
			addCriterion("receiver_city like", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityNotLike(String value) {
			addCriterion("receiver_city not like", value, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityIn(List<String> values) {
			addCriterion("receiver_city in", values, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityNotIn(List<String> values) {
			addCriterion("receiver_city not in", values, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityBetween(String value1, String value2) {
			addCriterion("receiver_city between", value1, value2, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverCityNotBetween(String value1, String value2) {
			addCriterion("receiver_city not between", value1, value2, "receiverCity");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictIsNull() {
			addCriterion("receiver_district is null");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictIsNotNull() {
			addCriterion("receiver_district is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictEqualTo(String value) {
			addCriterion("receiver_district =", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictNotEqualTo(String value) {
			addCriterion("receiver_district <>", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictGreaterThan(String value) {
			addCriterion("receiver_district >", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_district >=", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictLessThan(String value) {
			addCriterion("receiver_district <", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictLessThanOrEqualTo(String value) {
			addCriterion("receiver_district <=", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictLike(String value) {
			addCriterion("receiver_district like", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictNotLike(String value) {
			addCriterion("receiver_district not like", value, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictIn(List<String> values) {
			addCriterion("receiver_district in", values, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictNotIn(List<String> values) {
			addCriterion("receiver_district not in", values, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictBetween(String value1, String value2) {
			addCriterion("receiver_district between", value1, value2, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverDistrictNotBetween(String value1, String value2) {
			addCriterion("receiver_district not between", value1, value2, "receiverDistrict");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressIsNull() {
			addCriterion("receiver_address is null");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressIsNotNull() {
			addCriterion("receiver_address is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressEqualTo(String value) {
			addCriterion("receiver_address =", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressNotEqualTo(String value) {
			addCriterion("receiver_address <>", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressGreaterThan(String value) {
			addCriterion("receiver_address >", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_address >=", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressLessThan(String value) {
			addCriterion("receiver_address <", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressLessThanOrEqualTo(String value) {
			addCriterion("receiver_address <=", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressLike(String value) {
			addCriterion("receiver_address like", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressNotLike(String value) {
			addCriterion("receiver_address not like", value, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressIn(List<String> values) {
			addCriterion("receiver_address in", values, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressNotIn(List<String> values) {
			addCriterion("receiver_address not in", values, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressBetween(String value1, String value2) {
			addCriterion("receiver_address between", value1, value2, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverAddressNotBetween(String value1, String value2) {
			addCriterion("receiver_address not between", value1, value2, "receiverAddress");
			return (Criteria) this;
		}

		public Criteria andReceiverZipIsNull() {
			addCriterion("receiver_zip is null");
			return (Criteria) this;
		}

		public Criteria andReceiverZipIsNotNull() {
			addCriterion("receiver_zip is not null");
			return (Criteria) this;
		}

		public Criteria andReceiverZipEqualTo(String value) {
			addCriterion("receiver_zip =", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipNotEqualTo(String value) {
			addCriterion("receiver_zip <>", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipGreaterThan(String value) {
			addCriterion("receiver_zip >", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipGreaterThanOrEqualTo(String value) {
			addCriterion("receiver_zip >=", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipLessThan(String value) {
			addCriterion("receiver_zip <", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipLessThanOrEqualTo(String value) {
			addCriterion("receiver_zip <=", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipLike(String value) {
			addCriterion("receiver_zip like", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipNotLike(String value) {
			addCriterion("receiver_zip not like", value, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipIn(List<String> values) {
			addCriterion("receiver_zip in", values, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipNotIn(List<String> values) {
			addCriterion("receiver_zip not in", values, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipBetween(String value1, String value2) {
			addCriterion("receiver_zip between", value1, value2, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andReceiverZipNotBetween(String value1, String value2) {
			addCriterion("receiver_zip not between", value1, value2, "receiverZip");
			return (Criteria) this;
		}

		public Criteria andCreatedIsNull() {
			addCriterion("created is null");
			return (Criteria) this;
		}

		public Criteria andCreatedIsNotNull() {
			addCriterion("created is not null");
			return (Criteria) this;
		}

		public Criteria andCreatedEqualTo(Date value) {
			addCriterion("created =", value, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedNotEqualTo(Date value) {
			addCriterion("created <>", value, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedGreaterThan(Date value) {
			addCriterion("created >", value, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
			addCriterion("created >=", value, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedLessThan(Date value) {
			addCriterion("created <", value, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedLessThanOrEqualTo(Date value) {
			addCriterion("created <=", value, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedIn(List<Date> values) {
			addCriterion("created in", values, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedNotIn(List<Date> values) {
			addCriterion("created not in", values, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedBetween(Date value1, Date value2) {
			addCriterion("created between", value1, value2, "created");
			return (Criteria) this;
		}

		public Criteria andCreatedNotBetween(Date value1, Date value2) {
			addCriterion("created not between", value1, value2, "created");
			return (Criteria) this;
		}

		public Criteria andUpdatedIsNull() {
			addCriterion("updated is null");
			return (Criteria) this;
		}

		public Criteria andUpdatedIsNotNull() {
			addCriterion("updated is not null");
			return (Criteria) this;
		}

		public Criteria andUpdatedEqualTo(Date value) {
			addCriterion("updated =", value, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedNotEqualTo(Date value) {
			addCriterion("updated <>", value, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedGreaterThan(Date value) {
			addCriterion("updated >", value, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedGreaterThanOrEqualTo(Date value) {
			addCriterion("updated >=", value, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedLessThan(Date value) {
			addCriterion("updated <", value, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedLessThanOrEqualTo(Date value) {
			addCriterion("updated <=", value, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedIn(List<Date> values) {
			addCriterion("updated in", values, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedNotIn(List<Date> values) {
			addCriterion("updated not in", values, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedBetween(Date value1, Date value2) {
			addCriterion("updated between", value1, value2, "updated");
			return (Criteria) this;
		}

		public Criteria andUpdatedNotBetween(Date value1, Date value2) {
			addCriterion("updated not between", value1, value2, "updated");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}